/** 
 * 文 件 名:FoodRecord.java
 * Copyright (C) 2007-2012:杭州希禾信息技术有限公司 版权所有 
 * 创 建 人:刘绍辉
 * 日    期:2012-3-12 下午12:09:00
 * 修 改 人: 
 * 日   期:
 * 修改描述:
 * 描   述:TODO
 */
package net.seehealth.healthpad.model.upload;

import net.seehealth.healthpad.application.base.BaseModel;
/**
 * @className FoodRecord
 * @author 刘绍辉
 * @description 膳食记录
 * @date 2012-3-14 下午14:09:00
 */
public class FoodRecord extends BaseModel {
	/**
	 * 主键ID
	 */
	private Integer frid;
	/**
	 * 用户ID
	 */
	private Integer userID;
	/**
	 * 摄入分量
	 */
	private float intake;
	/**
	 * 用餐属于哪一餐
	 */
	private int eatTime;
	/**
	 * 摄入能量
	 */
	private float intakeEn;
	/**
	 * 食材类型编码
	 */
	private String foodTypeCode;
	/**]
	 * 食材编码
	 */
	private String foodCode;
	/**
	 * 记录日期
	 */
	private String recordTime;
	/**
	 * empty constructor
	 */
	public FoodRecord(){}
	/**
	 * full constructor
	 * @param frid
	 * @param userID
	 * @param intake
	 * @param eatTime
	 * @param intakeEn
	 * @param foodTypeCode
	 * @param foodCode
	 * @param recordTime
	 */
	public FoodRecord(Integer frid, Integer userID, float intake, int eatTime,
			float intakeEn, String foodTypeCode, String foodCode,
			String recordTime) {
		super();
		this.frid = frid;
		this.userID = userID;
		this.intake = intake;
		this.eatTime = eatTime;
		this.intakeEn = intakeEn;
		this.foodTypeCode = foodTypeCode;
		this.foodCode = foodCode;
		this.recordTime = recordTime;
	}
	
	@Override
	public String toString() {
		return "FoodRecord [frid=" + frid + ", userID=" + userID + ", intake="
				+ intake + ", eatTime=" + eatTime + ", intakeEn=" + intakeEn
				+ ", foodTypeCode=" + foodTypeCode + ", foodCode=" + foodCode
				+ ", recordTime=" + recordTime + "]";
	}
	public Integer getFrid() {
		return frid;
	}
	public void setFrid(Integer frid) {
		this.frid = frid;
	}
	public Integer getUserID() {
		return userID;
	}
	public void setUserID(Integer userID) {
		this.userID = userID;
	}
	public float getIntake() {
		return intake;
	}
	public void setIntake(float intake) {
		this.intake = intake;
	}
	public int getEatTime() {
		return eatTime;
	}
	public void setEatTime(int eatTime) {
		this.eatTime = eatTime;
	}
	public float getIntakeEn() {
		return intakeEn;
	}
	public void setIntakeEn(float intakeEn) {
		this.intakeEn = intakeEn;
	}
	public String getFoodTypeCode() {
		return foodTypeCode;
	}
	public void setFoodTypeCode(String foodTypeCode) {
		this.foodTypeCode = foodTypeCode;
	}
	public String getFoodCode() {
		return foodCode;
	}
	public void setFoodCode(String foodCode) {
		this.foodCode = foodCode;
	}
	public String getRecordTime() {
		return recordTime;
	}
	public void setRecordTime(String recordTime) {
		this.recordTime = recordTime;
	}
	
}
